Developer Documentation

QuickTime 4 API Documentation

Wired Movies and Sprites

| Previous | Chapter Contents | Chapter Top | Next |

Authoring Movies with the Sprite Media Handler

The sprite media handler provides functions that allow an application to create and manipulate a sprite animation as a track in a QuickTime movie.

The following sections are illustrated with code from the sample program QTWiredSprites.c , which creates a 320 by 240 pixel QuickTime movie with one sprite track. The sprite track contains six sprites, including two penguins and four buttons. The sample program, which takes advantage of wired sprites, is explained in greater detail "Authoring Wired Movies" . A partial code listing is available in Appendix  . You can download the full sample code at QuickTime Web site at http://www.apple.com/quicktime/developers/samplecode.html#sprites .

Defining a Key Frame Sample

Defining Override Samples

Setting Properties of the Sprite Track

Getting Sprite Data From a Modifier Track


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |